package Day04;

import java.util.Scanner;

public class Practice {
    public static void main(String[] args) {
        int sum =0;
        for (int a=0;a<=100;a+=2){
            sum =sum+a;
        }
        System.out.println("1-100所有偶数和为"+sum);

    }
}
